package com.xx.job.seataorderservice2001.service;

import com.xx.job.common.CommonResult;
import com.xx.job.entity.Account;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "seata-account-service")
public interface AccountService {

    @PostMapping("/account/update")
    public CommonResult update(Account account);
}
